<?php

/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */
class wms_ctl_admin_deliverykdf extends desktop_controller
{

    function index()
    {
        $params = array(
            'title' => '快递费发送列表',
              'actions' => array(
                'confirm' => array(
                    'label' => '过数',
                    'href' => 'index.php?app=wms&ctl=admin_deliverykdf&act=alipay',
                ),
            ),
            'orderBy' => 'delivery_time desc',
        );
        $this->finder('wms_mdl_deliverykdf', $params);

    }
    function alipay($value='')
    {
        $res=kernel::single('erpapi_rpc_alipay')->call('CreateReturnSalesOrder',$param);
        var_dump($res);
    }

}


